//*****************************************************************************
//
// ABEC3 Solving File
// Project: ABEC Vented Enclosure BE+LE
//
//*****************************************************************************

// Script with vertex coordinates
File="Nodes.txt"

// Controlling parameters of the solver
 
Control_Solver
  f1=20;  f2=500;  NumFrequencies=30;  Abscissa=log;
  Sym=y; Dim=3D
  MeshFrequency=1500Hz
  Meshing=Bifu 


SubDomain_Properties 'Exterior'
  SubDomain=1
  ElType=Exterior            // Radiation to infinity

Infinite_Baffle
  SubDomain=1
  IBPlane=z                  // Floor reflection


Elements "Enclosure-Exterior"
  RefNodes="NF"
  SubDomain=1
  SwapNormals=true
  101   2201  2204  2203  2202  // rear wall
  102   2001  2201  2202  2002  // top wall
  // 103   2004  2003  2203  2204  // bottom wall (remove because of IB)
  104   2002  2202  2203  2003  // side wall


Baffle "Exterior"
  Subdomain=1
  EdgeLength=70mm,30mm
  Vertices=2004,2003,2002,2001  "NF"
  101  Ref="Cone Front"      x=0  y=370.0mm  // 350mm + 20mm
  102  Ref="Vent Aperture"   x=0  y=120.0mm  // 100mm + 20mm


Diaphragm  "Cone front"
  DrvGroup=1001                // Driving group link to observation stage
  SubDomain=1                  // Front side belongs to sub-domain 1
  Side=Front                   // Creates elements for the front side of the diaphragm
  EdgeLength=50mm
  dD=250mm                     // Diameter of cone
  tD1=50mm                     // Inner depth of cone to base of dust cap
  dD1=70mm                     // Diameter of dust cap
  hD1=25mm                     // Height of dust cap


Diaphragm  "Vent Aperture"
  DrvGroup=1002                // Driving group link to observation stage
  SubDomain=1                  // This side belongs to sub-domain SubDomain=1
  Side=Front
  RectType=Rectangle
  WD=250mm 
  HD=30mm
  Meshing=Delaunay
  EdgeLength=25mm
